go/types.Checker.newNamed (method)
5 uses
go/types (current package)
decl.go#L568: named := check.newNamed(obj, nil, nil, nil, nil)
instantiate.go#L80: named := check.newNamed(tname, orig, nil, nil, nil) // underlying, tparams, and methods are set when named is resolved
named.go#L41: return (*Checker)(nil).newNamed(obj, nil, underlying, nil, newMethodList(methods))
named.go#L65: func (check *Checker) newNamed(obj *TypeName, orig *Named, underlying Type, tparams *TypeParamList, methods *methodList) *Named {
typexpr.go#L442: inst = check.newNamed(tname, orig, nil, nil, nil) // underlying, methods and tparams are set when named is resolved